package cn.iocoder.yudao.module.picturebook.controller.admin.book.vo;

import lombok.*;
import java.util.*;
import io.swagger.v3.oas.annotations.media.Schema;
import cn.iocoder.yudao.framework.common.pojo.PageParam;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;

import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 书籍信息分页 Request VO")
@Data
public class BookPageReqVO extends PageParam {

    @Schema(description = "书名")
    private String title;

    @Schema(description = "作者")
    private String author;

    @Schema(description = "出版社")
    private String publisher;

    @Schema(description = "封面图URL", example = "https://www.iocoder.cn")
    private String coverUrl;

    @Schema(description = "语言：1-中文，2-英文")
    private Integer language;

    @Schema(description = "分级（如“牛津树1级”）")
    private String level;

    @Schema(description = "分类（如“古诗词”“成语绘本”）")
    private String category;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

}